package org.mypofolio.model;

import java.util.Date;

public class DataItem {
   public Date date;
   public String stockDes;
   public String description;
   
   public Double amount;
   public int qty;
   public boolean signD;
   
   public TYPES type;
	  
   public enum TYPES  {REAL,PROJ};
   
   public Double totImp(){
	   if (amount==null){
		   return new Double(qty);
	   }
	   return amount*qty;
   }

}
